#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) Huoty, All rights reserved
# Author: Huoty <sudohuoty@163.com>
# CreateTime: 2019-12-13 10:50:59

from functools import lru_cache


@lru_cache(None)
def gen_dict():
    return {}

for i in range(10):
    d = gen_dict()
    d.update({i: i})

print(d)
